package com.wanmait.demo.pojo;

import java.io.Serializable;
import java.util.Date;

public class OrderComment implements Serializable {

    //zjj 我用来封装
    private RepairOrder repairOrder;

    //zjj 我用来封装
    private Userinfo userinfo;




    private Integer id;

    /**
	* 订单id
	*/
        private Integer repairOrderId;

    /**
	* 用户id
	*/
    private Integer userinfoId;

    /**
	* 评论内容
	*/
    private String comment;

    /**
	* 评分
	*/
    private Integer score;

    /**
	* 评论时间
	*/
    private Date commentTime;

    /**
	* 状态
	*/
    private Boolean enable;


    public Integer getRepairOrderId() {
        return repairOrderId;
    }

    public void setRepairOrderId(Integer repairOrderId) {
        this.repairOrderId = repairOrderId;
    }

    public Integer getUserinfoId() {
        return userinfoId;
    }

    public void setUserinfoId(Integer userinfoId) {
        this.userinfoId = userinfoId;
    }

    public Userinfo getUserinfo() {
        return userinfo;
    }

    public void setUserinfo(Userinfo userinfo) {
        this.userinfo = userinfo;
    }

    public RepairOrder getRepairOrder() {
        return repairOrder;
    }

    public void setRepairOrder(RepairOrder repairOrder) {
        this.repairOrder = repairOrder;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }



    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Date getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(Date commentTime) {
        this.commentTime = commentTime;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", repairOrderId=").append(repairOrderId);
        sb.append(", userinfoId=").append(userinfoId);
        sb.append(", comment=").append(comment);
        sb.append(", score=").append(score);
        sb.append(", commentTime=").append(commentTime);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}